package com.clw.weblogin.service;

import com.clw.weblogin.common.entity.ResultEntity;
import com.clw.weblogin.entity.JieKuan;

import java.util.Date;
import java.util.List;

public interface JieKuanService {
    ResultEntity selectByDepartment(JieKuan entity, int page, int limit);
    ResultEntity insert(JieKuan entity);
    ResultEntity update(JieKuan entity);
    ResultEntity selectByDate(JieKuan entity,int page,int limit);
    ResultEntity deleteByid(JieKuan entity);
    List<JieKuan> selectByExample(JieKuan entity);
    int updateByid(JieKuan jieKuan);
    int days(Date cunkuandate, Date jiesuandate) throws Exception;
    //利息
    double havelixi(int day,int shijiday,double lilv,double cunkuanmoney,int zhouqi);
    Date yujidate(Date cunkuandate,int jiesuanzhouqi) throws Exception;

}
